<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::NSGA3Indicator Struct Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="structshark_1_1_n_s_g_a3_indicator.html">NSGA3Indicator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="structshark_1_1_n_s_g_a3_indicator-members.html">List of all members</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle"><div class="title">shark::NSGA3Indicator Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_n_s_g_a3_indicator_8h_source.html">shark/Algorithms/DirectSearch/Operators/Indicators/NSGA3Indicator.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae2a8e94c8556e915e1c7e306159a432b" id="r_ae2a8e94c8556e915e1c7e306159a432b"><td class="memTemplParams" colspan="2">template&lt;typename ParetofrontType , typename ParetoArchive &gt; </td></tr>
<tr class="memitem:ae2a8e94c8556e915e1c7e306159a432b"><td class="memTemplItemLeft" align="right" valign="top">std::vector&lt; std::size_t &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_n_s_g_a3_indicator.html#ae2a8e94c8556e915e1c7e306159a432b">leastContributors</a> (ParetofrontType const &amp;front, ParetoArchive const &amp;archive, std::size_t K) const</td></tr>
<tr class="separator:ae2a8e94c8556e915e1c7e306159a432b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab76580d0beca10b7a3df34f5895cec61" id="r_ab76580d0beca10b7a3df34f5895cec61"><td class="memTemplParams" colspan="2">template&lt;typename Archive &gt; </td></tr>
<tr class="memitem:ab76580d0beca10b7a3df34f5895cec61"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_n_s_g_a3_indicator.html#ab76580d0beca10b7a3df34f5895cec61">serialize</a> (Archive &amp;ar, const unsigned int)</td></tr>
<tr class="separator:ab76580d0beca10b7a3df34f5895cec61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7b565cc0603288903fe940867016bc1" id="r_ac7b565cc0603288903fe940867016bc1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structshark_1_1_n_s_g_a3_indicator.html#ac7b565cc0603288903fe940867016bc1">setReferencePoints</a> (std::vector&lt; RealVector &gt; const &amp;Z)</td></tr>
<tr class="separator:ac7b565cc0603288903fe940867016bc1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa484bfef7ef12fa0aa42bf74238e6236" id="r_aa484bfef7ef12fa0aa42bf74238e6236"><td class="memTemplParams" colspan="2">template&lt;class random &gt; </td></tr>
<tr class="memitem:aa484bfef7ef12fa0aa42bf74238e6236"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="structshark_1_1_n_s_g_a3_indicator.html#aa484bfef7ef12fa0aa42bf74238e6236">init</a> (std::size_t numOfObjectives, std::size_t mu, random &amp;rng, std::vector&lt; <a class="el" href="namespaceshark.html#a8e65279a37185756281cefcc975b5aba">Preference</a> &gt; const &amp;preferences=std::vector&lt; <a class="el" href="namespaceshark.html#a8e65279a37185756281cefcc975b5aba">Preference</a> &gt;())</td></tr>
<tr class="separator:aa484bfef7ef12fa0aa42bf74238e6236"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="_n_s_g_a3_indicator_8h_source.html#l00043">43</a> of file <a class="el" href="_n_s_g_a3_indicator_8h_source.html">NSGA3Indicator.h</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="aa484bfef7ef12fa0aa42bf74238e6236" name="aa484bfef7ef12fa0aa42bf74238e6236"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa484bfef7ef12fa0aa42bf74238e6236">&#9670;&#160;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class random &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void shark::NSGA3Indicator::init </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>numOfObjectives</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>mu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">random &amp;&#160;</td>
          <td class="paramname"><em>rng</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="namespaceshark.html#a8e65279a37185756281cefcc975b5aba">Preference</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>preferences</em> = <code>std::vector&lt;<a class="el" href="namespaceshark.html#a8e65279a37185756281cefcc975b5aba">Preference</a>&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_n_s_g_a3_indicator_8h_source.html#l00137">137</a> of file <a class="el" href="_n_s_g_a3_indicator_8h_source.html">NSGA3Indicator.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceshark.html#a415796eac968fb1da2a007f6393f0eef">shark::computeOptimalLatticeTicks()</a>, <a class="el" href="namespaceshark.html#ab9ca889b44ff9b2a2d1c5f362f37d72c">shark::preferenceAdjustedUnitVectors()</a>, <a class="el" href="namespaceshark.html#a4ccee7396e4625bd05c53a87c7cd8df8">shark::sampleLatticeUniformly()</a>, and <a class="el" href="namespaceshark.html#af270d535e78a54515afc3761e20f61b1">shark::unitVectorsOnLattice()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_real_coded_n_s_g_a_i_i_i.html#ad457877fd7ad0a79ca7bcba1179d7df0">shark::RealCodedNSGAIII::doInit()</a>.</p>

</div>
</div>
<a id="ae2a8e94c8556e915e1c7e306159a432b" name="ae2a8e94c8556e915e1c7e306159a432b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2a8e94c8556e915e1c7e306159a432b">&#9670;&#160;</a></span>leastContributors()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename ParetofrontType , typename ParetoArchive &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; std::size_t &gt; shark::NSGA3Indicator::leastContributors </td>
          <td>(</td>
          <td class="paramtype">ParetofrontType const &amp;&#160;</td>
          <td class="paramname"><em>front</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ParetoArchive const &amp;&#160;</td>
          <td class="paramname"><em>archive</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>K</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_n_s_g_a3_indicator_8h_source.html#l00045">45</a> of file <a class="el" href="_n_s_g_a3_indicator_8h_source.html">NSGA3Indicator.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceshark.html#a45f02945ba29df1104c012e614d38591">shark::makeKeyValuePair()</a>, <a class="el" href="_exception_8h.html#a42a6a50e4d06c00d60fbca5333f40768">SIZE_CHECK</a>, <a class="el" href="group__shark__globals.html#gae1f82613484173e9fe1a07960dabff63">shark::sqr()</a>, <a class="el" href="namespaceshark.html#a3fffe112e8e09ea8f41e4fb7113e93ee">shark::swap()</a>, and <a class="el" href="structshark_1_1_key_value_pair.html#a17a95cec6457d457a4c1da366fb8283f">shark::KeyValuePair&lt; Key, Value &gt;::value</a>.</p>

</div>
</div>
<a id="ab76580d0beca10b7a3df34f5895cec61" name="ab76580d0beca10b7a3df34f5895cec61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab76580d0beca10b7a3df34f5895cec61">&#9670;&#160;</a></span>serialize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Archive &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void shark::NSGA3Indicator::serialize </td>
          <td>(</td>
          <td class="paramtype">Archive &amp;&#160;</td>
          <td class="paramname"><em>ar</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const unsigned int&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_n_s_g_a3_indicator_8h_source.html#l00124">124</a> of file <a class="el" href="_n_s_g_a3_indicator_8h_source.html">NSGA3Indicator.h</a>.</p>

</div>
</div>
<a id="ac7b565cc0603288903fe940867016bc1" name="ac7b565cc0603288903fe940867016bc1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7b565cc0603288903fe940867016bc1">&#9670;&#160;</a></span>setReferencePoints()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void shark::NSGA3Indicator::setReferencePoints </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; RealVector &gt; const &amp;&#160;</td>
          <td class="paramname"><em>Z</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_n_s_g_a3_indicator_8h_source.html#l00128">128</a> of file <a class="el" href="_n_s_g_a3_indicator_8h_source.html">NSGA3Indicator.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/shark/Algorithms/DirectSearch/Operators/Indicators/<a class="el" href="_n_s_g_a3_indicator_8h_source.html">NSGA3Indicator.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
